package com.hippoDocker.security.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hippoDocker.security.entity.UmsPermission;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 后台用户权限表(UmsPermission)表数据库访问层
 *
 * @author makejava
 * @since 2022-07-29 09:35:57
 */
public interface UmsPermissionDao extends BaseMapper<UmsPermission> {
    /**
     * 通过用户ID查询权限值
     *
     * @param userId 用户ID
     * @return
     */
    List<String> selectValuesByUserId(Long userId);


}

